<template>
  <div>
    <el-tabs v-model="activeName" type="border-card" style="min-height:700px;width:100%">
      <el-tab-pane :label="$t('关键字过滤')" name="first">
        <black-list v-if="activeName === 'first'"></black-list>
      </el-tab-pane>
      <el-tab-pane :label="$t('文件类型过滤')" name="second">
        <black-file-list v-if="activeName === 'second'"></black-file-list>
      </el-tab-pane>
    </el-tabs>
  </div>
</template>
<script>
import BlackList from './blackList/BlackList.vue'
import BlackFileList from './blackFileList/BlackFileList.vue'
export default {
  name: 'BlackTab',
  components: {
    BlackList,
    BlackFileList
  },
  data () {
    return {
      activeName: 'first'
    }
  }
}
</script>
